package com.RedRiver.hospitalsystem.record_service.client.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel("诊断结果")
public class AddResultParam {

    /**
     * 病历id
     */
    @ApiModelProperty("病历id")
    @Min(value = 1,message = "id为正整数")
    private Integer recordsId;
    /**
     * 医生诊断结果
     */
    @ApiModelProperty("医生诊断结果")
    @NotBlank(message = "结果不能为空")
    private String recordsResult;
}
